package com.kang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kang.Vo.GroupVo;
import com.kang.bean.GroupS;
import com.kang.bean.Users;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface GroupService  extends IService<GroupS> {

    List<GroupVo> getAll(HttpServletRequest request);

    GroupS add(GroupS group, HttpServletRequest request);

    void deleteGroup(Long id);

    List<GroupVo> getByUserId(Long userId);

    void isById(Long id, Users users);

    String getPassById(Long id, HttpServletRequest request);

    void update(GroupS groupS);
}
